import './assets/js/flexible.js';
import './assets/css/reset.css';
import Vue from 'vue';
import App from './App';
import router from './router/router.js';
import resource from 'vue-resource';
import jsonp from 'jsonp';
import Swiper from 'vue-swiper';
import VueAwesomeSwiper from 'vue-awesome-swiper';
import store from './vuex/store'
import { AlertPlugin, ToastPlugin } from 'vux';
import VueLazyload from 'vue-lazyload';
Vue.use(VueLazyload,{
	preLoad: 0.9,
	loading:'../static/img/quesheng.png',
	attemp:1
});

Vue.use(AlertPlugin);
Vue.use(ToastPlugin);

Vue.use(resource);
Vue.use(VueAwesomeSwiper);


Vue.prototype.jsonp = jsonp;

new Vue({
  	el: '#app',
 	router,
 	resource,
 	store,
   	components:{App},
  	template:'<App/>',
})

